package com.soul.gateway.props;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

/**
 * @author Shiws
 * @version 1.0
 * @date 2023/9/5 14:05
 */
@Component
@Data
@RefreshScope
@ConfigurationProperties("project.gateway")
public class AuthProperties {

    /**
     * 放行API集合
     */
    private final List<String> skipUrl = new ArrayList<>();

}